<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>假装是个破解版的腾讯视频</title>
    <meta name="referrer" content="never">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/layui/css/layui.css" media="all">
</head>
<script src="/layui/layui.js" charset="utf-8"></script>

<body>
<div class="layui-tab layui-tab-card">
    <ul class="layui-tab-title">
        <li class="layui-this">腾讯视频</li>
        <li>爱奇艺视频</li>
        <li>抖音下载</li>
        <li>优酷视频</li>
        <li>芒果TV</li>
        <li>抖音热榜</li>
    </ul>
    <div class="layui-tab-content">
        <div class="layui-tab-item layui-show">
            <form class="layui-form" id="form">
                <div class="layui-col-xs9" style="padding-left: 14%;">
                    <input type="text" onclick="pClick()" placeholder="请输入标题" class="layui-input" style="width: 90%;">
                </div>
                <div class="layui-col-xs3">
                    <button type="button" style="text-align: left;" class="layui-btn layui-btn-normal">查询</button>
                </div>
                <div class="layui-inline">
                    <div class="layui-input-block">
                        <input type="radio" name="tencentType" value="mv" title="电影" checked=""
                               lay-filter="tencentType">
                        <input type="radio" name="tencentType" value="tv" title="电视剧" lay-filter="tencentType">
                    </div>
                </div>
            </form>
            <div class="tv" style="display: none;">
                <iframe name="" frameborder="0" width="100%" height="100%" marginheight="0" src="/qqTV.html"></iframe>
            </div>
            <div class="mv" style="">
                <iframe name="" frameborder="0" width="100%" height="100%" marginheight="0"
                        src="/qqMovie.html"></iframe>
            </div>

        </div>
        <div class="layui-tab-item">
            <form class="layui-form">
                <div class="layui-col-xs9" style="padding-left: 14%;">
                    <input type="text" onclick="pClick()" placeholder="请输入标题" class="layui-input" style="width: 90%;">
                </div>
                <div class="layui-col-xs3">
                    <button type="button" class="layui-btn layui-btn-normal">查询</button>
                </div>
                <div class="layui-inline">
                    <div class="layui-input-block">
                        <input type="radio" name="tencentType" value="mv" title="电影" checked=""
                               lay-filter="tencentType">
                        <input type="radio" name="tencentType" value="tv" title="电视剧" lay-filter="tencentType">
                    </div>
                </div>
            </form>
            <div class="tv" style="display: none;">
                <iframe name="" frameborder="0" width="100%" height="100%" marginheight="0"
                        src="/iqiyiTV.html"></iframe>
            </div>
            <div class="mv" style="">
                <iframe name="" frameborder="0" width="100%" height="100%" marginheight="0"
                        src="/iqiyiMovie.html"></iframe>
            </div>
        </div>
        <div class="layui-tab-item">
            <div class="douyin">
                <iframe name="" frameborder="0" width="100%" height="100%" marginheight="0" src="/douyin.html"></iframe>
            </div>
        </div>
        <div class="layui-tab-item">
            <form class="layui-form">
                <div class="layui-col-xs9" style="padding-left: 14%;">
                    <input type="text" onclick="pClick()" placeholder="请输入标题" class="layui-input" style="width: 90%;">
                </div>
                <div class="layui-col-xs3">
                    <button type="button" class="layui-btn layui-btn-normal">查询</button>
                </div>
                <div class="layui-inline">
                    <div class="layui-input-block">
                        <input type="radio" name="tencentType" value="mv" title="电影" checked=""
                               lay-filter="tencentType">
                        <input type="radio" name="tencentType" value="tv" title="电视剧" lay-filter="tencentType">
                    </div>
                </div>
            </form>
            <div class="tv" style="display: none;">
                <iframe name="" frameborder="0" width="100%" height="100%" marginheight="0"
                        src="/youkuTV.html"></iframe>
            </div>
            <div class="mv" style="">
                <iframe name="" frameborder="0" width="100%" height="100%" marginheight="0"
                        src="/youkuMovie.html"></iframe>
            </div>
        </div>

        <div class="layui-tab-item">
            <form class="layui-form">
                <div class="layui-col-xs9" style="padding-left: 14%;">
                    <input type="text" onclick="pClick()" placeholder="请输入标题" class="layui-input" style="width: 90%;">
                </div>
                <div class="layui-col-xs3">
                    <button type="button" class="layui-btn layui-btn-normal">查询</button>
                </div>
                <div class="layui-inline">
                    <div class="layui-input-block">
                        <input type="radio" name="tencentType" value="mv" title="电影" checked=""
                               lay-filter="tencentType">
                        <input type="radio" name="tencentType" value="tv" title="电视剧" lay-filter="tencentType">
                    </div>
                </div>
            </form>
            <div class="tv" style="display: none;">
                <iframe name="" frameborder="0" width="100%" height="100%" marginheight="0"
                        src="/mangguoTV.html"></iframe>
            </div>
            <div class="mv" style="">
                <iframe name="" frameborder="0" width="100%" height="100%" marginheight="0"
                        src="/mangguoMovie.html"></iframe>
            </div>
        </div>
        <div class="layui-tab-item" id="douyin_hot">
            <iframe name="" frameborder="0" width="100%" height="100%" marginheight="0" src="/douyin_hot.html"></iframe>
        </div>
    </div>
    <script>
        layui.use('form', function () {
            var form = layui.form;
            var $ = layui.jquery;
            document.getElementsByClassName('douyin')[0].style.height = window.innerHeight + 'px ';
            form.on('radio(tencentType)', function (data) {
                var type = data.value;
                if (type == "tv") {
                    $(".tv").attr("style", "display: block");
                    $(".mv").attr("style", "display: none;");
                    document.getElementsByClassName('tv')[0].style.height = window.innerHeight + 'px ';
                    document.getElementsByClassName('tv')[1].style.height = window.innerHeight + 'px ';
                    document.getElementsByClassName('tv')[2].style.height = window.innerHeight + 'px ';
                    document.getElementsByClassName('tv')[3].style.height = window.innerHeight + 'px ';
                } else {
                    $(".tv").attr("style", "display: none");
                    $(".mv").attr("style", "display: block;");
                    document.getElementsByClassName('mv')[0].style.height = window.innerHeight + 'px ';
                    document.getElementsByClassName('mv')[1].style.height = window.innerHeight + 'px ';
                    document.getElementsByClassName('mv')[2].style.height = window.innerHeight + 'px ';
                    document.getElementsByClassName('mv')[3].style.height = window.innerHeight + 'px ';
                }
            });
        });

        function pClick() {
            window.location.href = "/search.html";
        }

        layui.use('element', function () {
        });
        document.getElementsByClassName('mv')[0].style.height = window.innerHeight + 'px ';
        document.getElementsByClassName('mv')[1].style.height = window.innerHeight + 'px ';
        document.getElementsByClassName('mv')[2].style.height = window.innerHeight + 'px ';
        document.getElementsByClassName('mv')[3].style.height = window.innerHeight + 'px ';
        document.getElementById('douyin_hot').style.height = window.innerHeight + 'px ';
    </script>
</body>

</html>